home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 26 (Anniversary Edition)
/
Volume 26 [Anniversary Edition] - JOGO DISK .iso
/
DEPOSITO
/
REmovido
/
Esportes
/
air_hockey.swf
/
scripts
/
frame_4
/
DoAction.as
< prev
Wrap
Text File
|
2006-07-26
|
1KB
|
54 lines
if(_root.lev == 48)
{
bbx1._visible = 1;
bbx2._visible = 0;
bbx3._visible = 0;
}
if(_root.lev == 24)
{
bbx1._visible = 0;
bbx2._visible = 1;
bbx3._visible = 0;
}
if(_root.lev == 6)
{
bbx1._visible = 0;
bbx2._visible = 0;
bbx3._visible = 1;
}
if(_root.scorMe > _root.scorAi)
{
if(_root.lev == 48)
{
mesaj = "YOU WON! \nTry your skills with the medium difficulty level.";
}
if(_root.lev == 24)
{
mesaj = "YOU WON! \nTry your skills with the hard difficulty level.";
}
if(_root.lev == 6)
{
mesaj = "YOU WON!";
}
}
if(_root.scorAi > _root.scorMe)
{
if(_root.lev == 48)
{
mesaj = "YOU LOST! \nTry again.";
}
if(_root.lev == 24)
{
mesaj = "YOU LOST! \nTry with the easy difficulty level.";
}
if(_root.lev == 6)
{
mesaj = "YOU LOST! \nTry with the medium difficulty level.";
}
}
if(_root.scorAi == _root.scorMe)
{
mesaj = "DRAW! \nTry Again.";
}
_root.mes.text = mesaj;